const module = {
  state: {
    cityId: '110100',
    cityName: '北京'
  },
  mutations: {
    changeCityData(state, { name: cityName, cityId }) {
      state.cityId = cityId
      state.cityName = cityName
    }
  }
}

export default module